﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="FreeRecorderExplorer.InfoWindow"
        Title="About" Height="162" Width="373" MinWidth="373" MaxWidth="373" MinHeight="162" MaxHeight="162" WindowStartupLocation="CenterOwner">
    <Grid>
        <Image Source="Images/freerec_icon.png" Stretch="Uniform" Margin="10,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="79"/>
        <TextBlock HorizontalAlignment="Left" Margin="108,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="247" Height="20" FontFamily="Segoe UI Semibold"><Run Language="cs-cz" Text="Free Recorder Explorer"/><LineBreak/><Run Language="cs-cz"/><LineBreak/><Run Language="cs-cz"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="108,30,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="247" Height="20" FontFamily="Segoe UI Semilight"><Run Language="cs-cz" Text="Version: 1.0"/><Run Text="   (Feb 2013)"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="108,50,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="247" Height="20" FontFamily="Segoe UI SemiLight"><Run Language="cs-cz" Text="Author: Martin Foukal (mfsoftcz@gmail.com)"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="108,70,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="35" Height="20" FontFamily="Segoe UI SemiLight"><Run Language="cs-cz" Text="Web:"/></TextBlock>

        <Button x:Name="btnLink" Margin="150,68,0,0" Content="frexplorer.codeplex.com" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Click="btnLink_Click" FontFamily="Segoe WP SemiLight">
            <Button.Style>
                <Style TargetType="{x:Type Button}">
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="{x:Type Button}">
                                <TextBlock x:Name="txtAddr" Text="{TemplateBinding Content}" FontFamily="Segoe UI SemiLight" Foreground="DarkBlue" VerticalAlignment="Center"/>

                                <ControlTemplate.Triggers>
                                    <Trigger Property="IsMouseOver" Value="True">
                                        <Setter TargetName="txtAddr" Property="Foreground" Value="#FFFF9700" />
                                        <Setter TargetName="txtAddr" Property="TextDecorations" Value="Underline" />
                                    </Trigger>
                                    <Trigger Property="IsPressed" Value="True">
                                        <Setter TargetName="txtAddr" Property="Foreground" Value="#FF37C7FD" />
                                        <Setter TargetName="txtAddr" Property="TextDecorations" Value="{x:Null}"/>
                                    </Trigger>
                                </ControlTemplate.Triggers>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Button.Style>
        </Button>
        <Button x:Name="btnOK" Content="Ok" HorizontalAlignment="Right" Margin="0,0,5,5" VerticalAlignment="Bottom" Width="75" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Click="btnOK_Click"/>

    </Grid>
</Window>
